package site.wanjiahao.handler.client;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import lombok.extern.slf4j.Slf4j;
import site.wanjiahao.app.Client;
import site.wanjiahao.message.response.PongMessage;

@Slf4j
public class PongMessageHandler extends SimpleChannelInboundHandler<PongMessage> {
    @Override
    protected void channelRead0(ChannelHandlerContext ctx, PongMessage msg) throws Exception {
        log.debug("客户端接受到服务器的PongMessage， 双方网络正常");
    }
}
